package left42dead;

/**
 * Represents a food pack item that the humans can eat to restore his life
 */
public class Food extends Item
{
    // Heal count
    private int amount;

    /**
     * Create a meal with the given amount
     * @param amount Amount of food
     */
    public Food (int amount)
    {
        this.amount = amount;
    }

    // Accessors and getters
    public void setAmount (int amount)
    {
        this.amount = amount;
    }

    public int getAmount ()
    {
        return amount;
    }
}
